set(CMAKE_SYSTEM_NAME Darwin)
set(DARWIN ON)

set(MAKE_SO_STACK_PROTECTOR_OPTION)

if(CANGJIE_TARGET_SYSROOT)
    set(CMAKE_SYSROOT ${CANGJIE_TARGET_SYSROOT})
endif()

set(CMAKE_BUILD_RPATH "$executable_path")
set(CMAKE_INSTALL_RPATH "$executable_path")
